package j2EE.bean.impl;

import com.google.common.collect.Lists;

import java.io.Serializable;
import java.sql.ResultSet;
import java.util.ArrayList;

/**
 * 行级DTO
 * @author Guojt
 * @date 2024/12/9 8:06
 */
public class LightRowSet implements Serializable {
    ArrayList rows = null;
    int rowCount = 0;
    int colCount = 0;
    String[] colNames = null;

    public LightRowSet(ResultSet result) {
        rows = Lists.newArrayList();

        this.rows = rows;
        this.rowCount = rowCount;
        this.colCount = colCount;
        this.colNames = colNames;
    }
}
